import 'package:flutter/material.dart';

class TabBarProvider with ChangeNotifier {

  int _currentIndex = 0;
  int get value => _currentIndex;

  changeIndex(int newIndex){
    _currentIndex = newIndex;
    notifyListeners();
  }

}